﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TjZheng.Framework;

namespace TjZheng.Controls
{
    public class QueryConditionProvider
    {
        public static IDictionary<DataBaseType, IQueryConditionProvider> Factory { get; set; }
        static QueryConditionProvider()
        {
            Factory = new Dictionary<DataBaseType, IQueryConditionProvider> 
            { 
                { DataBaseType.MsSql, new MsSqlQueryConditionProvider() }, 
                { DataBaseType.MySql, new MySqlQueryConditionProvider() } 
            };
        }
    }
}
